package com.idak.jax.ws.service.endpoint;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.idak.jax.ws.model.User;
import com.idak.jax.ws.service.AuthentificationService;

@WebService(endpointInterface="com.idak.jax.ws.service.AuthentificationService")
public class AuthentService implements AuthentificationService{
	
	@Autowired
	private AuthentificationService service;
	
	public boolean authenticate(User user) {
		return  service.authenticate(user);
	}
}
